<!-- AUXILIARY CONTENT -->

<div id="class_modal" class="reveal-modal">
	<div id="subj_accordion">
		<h6>Section Details</h6>
		<div>
			<table>
				<tbody>
					<tr>
						<th>Section Name:</th>
						<td><?=$grade_level . ' ' .$section_name; ?></td>
					</tr>
					<tr>
						<th>Adivser:</th>
						<td><?=$room_sect_profile->adviser_name;?></td>
					</tr>
					<tr>
						<th>Room Name:</th>
						<td><?=$room_sect_profile->room_name;?></td>
					</tr>
					<tr>
						<th>Room Desctiption:</th>
						<td><?=$room_sect_profile->room_desc;?></td>
					</tr>
				</tbody>
			</table>
		</div>
		<h6>Subjects</h6>
		<div>
			<?if(!empty($subject_schedule)):?>
				<table style="font-size: 15px">
					<thead>
						<tr>
							<th>Subject</th>
							<th>Teacher</th>
							<th>Time</th>
							<th>Day</th>
						</tr>
					</thead>
					<tbody>
						<?foreach($subject_schedule as $s):?>
							<tr>
								<td><?=$s->subj_desc;?></td>
								<td><?=$s->teacher;?></td>
								<td><?=$s->time_from;?> - <?=$s->time_to;?></td>
								<td><?=$s->day;?></td>
							</tr>
						<?endforeach;?>
					</tbody>
				</table>
			<?else:?>
			<?endif;?>
		</div>
	</div>
	<a class="close-reveal-modal">&#215;</a>
</div>


<div id="room_details" class="f-dropdown medium alert-box" data-dropdown-content>
	<div id="subj_accordion">
		<h6>Section Details</h6>
		<div>
			<table>
				<tbody>
					<tr>
						<th>Section Name:</th>
						<td><?=$grade_level . ' ' .$section_name; ?></td>
					</tr>
					<tr>
						<th>Adivser:</th>
						<td><?=$room_sect_profile->adviser_name;?></td>
					</tr>
					<tr>
						<th>Room Name:</th>
						<td><?=$room_sect_profile->room_name;?></td>
					</tr>
					<tr>
						<th>Room Desctiption:</th>
						<td><?=$room_sect_profile->room_desc;?></td>
					</tr>
				</tbody>
			</table>
		</div>
		<h6>Subjects</h6>
		<div>
			<?if(!empty($subject_schedule)):?>
				<table style="font-size: 15px">
					<thead>
						<tr>
							<th>Subject</th>
							<th>Teacher</th>
							<th>Time</th>
							<th>Day</th>
						</tr>
					</thead>
					<tbody>
						<?foreach($subject_schedule as $s):?>
							<tr>
								<td><?=$s->subj_desc;?></td>
								<td><?=$s->teacher;?></td>
								<td><?=$s->time_from;?> - <?=$s->time_to;?></td>
								<td><?=$s->day;?></td>
							</tr>
						<?endforeach;?>
					</tbody>
				</table>
			<?else:?>
			<?endif;?>
		</div>
	</div>
</div>